#include "stdafx.h"
#include "TextureLoader.h"

#ifdef USE_DEVIL
#include "DevILLoader.h"
#endif

TextureLoader *TextureLoader::CreateLoader(const wxString &name)
{
#ifdef USE_DEVIL
	if(name.CmpNoCase(wxT("DevIL")) == 0)
	{
		return new DevILLoader();
	}

#endif
	return NULL;
}
